
/**
 * <p>
 * 积分商城商品表 服务类
 * </p>
 *
 * @author song
 * @since 2025-09-22 09:11:23
 */
// 商品服务扩展
package com.neighbor.neighborhoodadmin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neighbor.neighborhoodadmin.pojo.MallProducts;
import java.util.List;

public interface IMallProductsService extends IService<MallProducts> {

    List<MallProducts> getProductsByType(Integer typeId);

    List<MallProducts> getAvailableProducts();

    boolean reduceStock(Integer productId, Integer quantity);
}
